#ifndef HEARTBTIMER_H
#define HEARTBTIMER_H
#include <QObject>
#include <createmymsg.h>
#include <socktooler.h>
#include <main.h>
class HeartBTimer : public QObject{
    Q_OBJECT
public:
    HeartBTimer(QObject* parent = nullptr);
    ~HeartBTimer();
    void handlerTimeout();
    virtual void timerEvent(QTimerEvent *event);
private:
    int m_nTimerID;

};
#endif // HEARTBTIMER_H
